﻿@model List<DataAccess.Models.AgencyRobot>
@{
    ViewBag.Title = "我要发单";
}

@section Styles{
    <link href="~/Content/zk/css/public.css" rel="stylesheet" />
    <link href="~/Content/zk/css/space.css" rel="stylesheet" />
    <link href="~/Content/zk/css/about.css" rel="stylesheet" />
    <link href="~/css/mobiscroll.custom-3.0.0-beta6.min.css" rel="stylesheet" />
   
}
@section Scripts{
    <script src="~/js/mobiscroll.custom-3.0.0-beta6.min.js"></script>
<script src="~/js/clipboard.min.js"></script>
    <script src="http://apps.bdimg.com/libs/layer.m/1.5/layer.m.js"></script>
    
<script src="~/Content/zk/js/wyfd.js"></script>
    <script>
        $(function () {
            initWXLogin('@(ViewBag.state)');
        })
        

    </script>
}
<style>

</style>
<form name="form1" method="post">
    <ul class="masterList" style="margin-top: 0.6rem;">
        <li style="height:100%">
            <p class="clearfix">
                <span class="fl">发单群名称：</span>
                <span style=" float: left; line-height:20px;width:70%">
                    @{
                        foreach (var item in Model)
                        {
                            <span>
                                <input type="hidden" name="flockname" id="fn-@item.Id" data-name="@item.FlockName" value="@item.Id">
                                <label style="line-height:45px">@item.FlockName</label>
                            </span><br />
                        }
                    }



                </span>
                <input type="hidden" id="flockNames" name="flockNames" value="" />
            </p>
        </li>

        <li style="height:100%">
            <p class="clearfix">
                <span class="fl">发单时间段：</span>
                <span class="fl">

                    <input name="time1" id="time1" value="@ViewBag.time1" class="alipay-focus" style="width:40%" placeholder="请输入时间">-
                    <input name="time2" id="time2" value="@ViewBag.time2" class="alipay-focus" style="width:40%" placeholder="请输入时间" readonly><br />
                    <input name="time3" id="time3" value="@ViewBag.time3" class="alipay-focus" style="width:40%" placeholder="请输入时间" readonly>-
                    <input name="time4" id="time4" value="@ViewBag.time4" class="alipay-focus" style="width:40%" placeholder="请输入时间" readonly><br />
                    <input name="time5" id="time5" value="@ViewBag.time5" class="alipay-focus" style="width:40%" placeholder="请输入时间" readonly>-
                    <input name="time6" id="time6" value="@ViewBag.time6" class="alipay-focus" style="width:40%" placeholder="请输入时间" readonly>



                </span>


            </p>
        </li>
        <li>
            <p class="clearfix">
                <span class="fl">发单间隔时间：</span>

                <input name="FlockSendSecond" id="FlockSendSecond" value="@ViewBag.FlockSendSecond" class="alipay-focus fl" placeholder="按秒为单位">
            </p>
        </li>
        <li id="rCode" style="height:100%; ">
            <p class="clearfix">
                <span class="fl">web微信登陆：</span>
                <span class="fl" style="width:70%">
                    @*<img id="file_img01" style=" width: 50px; height: 50px; border-radius: 50%;" src="http://0d077ef9e74d8.cdn.sohucs.com/qpMSVFj_png">*@
                  
                    <button type="button" id="btnImg" style=" background: rgb(254, 79, 63); border: 1px solid #fe4f3f; color: rgb(255, 255, 255); height: 36px; line-height: 36px; border-radius: 5px; padding: 0px 5px; ">点击扫码登陆web微信</button>
                    <img id="wxLoginImg" src="http://0d077ef9e74d8.cdn.sohucs.com/qqjg5at_gif" style="display: none; height: 186px; max-width:200%" />

                    <label id="imgMsg" style="color: red; display: none"></label>
                    <br />
                    <button type ="button" id="btnRefreshLogin" style="display: none; background: rgb(254, 79, 63); border: none; color: rgb(255, 255, 255); height: 36px; line-height: 36px; border-radius: 5px; padding: 0px 5px; ">重新登陆</button>

                </span>
           
            <p id="tishi" class="clearfix" style="display:none; line-height: 20px; text-align:left; color:#333; font-size:12px;">
                <span class="fl" style="/* width:34%; */ font-size:14px;">扫描发单方法：</span>
                <span class="fl" style="width:60%;">请截屏将二维码图片发送到朋友或者另外一台手机上，然后使用 微信“扫一扫”扫码登录 ，不能使用长按扫码！</span>

            </p>
            <p class="clearfix" style=" line-height: 20px; text-align:left; color:#333; font-size:12px;">
               
                  @*<input type="button" id="btnRefreshLogin" style="" value="刷新二维码" />*@
                <span class="fl" style="/* width:34%; */ font-size:14px;">　</span>
 
                <button type="button" id="btnRefreshImg" style="display: none; background: rgb(254, 79, 63); border: none; color: rgb(255, 255, 255); height: 36px; line-height: 36px; border-radius: 5px; padding: 0px 5px; " data-isshow="true">刷新二维码</button>

               


                    
                @*<input type="button" data-clipboard-text="" id="btnCopyImg" style="display:none"   value="复制二维码路径" />*@

                <button type="button" data-clipboard-text="" id="btnCopyImg" style="display:none; background: rgb(254, 79, 63); border: none; color: rgb(255, 255, 255); height: 36px; line-height: 36px; border-radius: 5px; padding: 0px 5px; ">复制二维码路径</button>

            </p>


            </p>


        </li>
    </ul>
    <div ng-app="commentApp" ng-controller="commentCtrl" class="messageBox">
        @*<p class="iline ">
            <a id="btnImg" class="btn blue" href="javascript:void(0)">获取登录二维码</a>
        </p>*@
        <p class="iline ">
            <a id="btnSend" class="btn blue" href="javascript:void(0)">保存设置</a>
        </p>
    </div>


</form>

